package com.shop.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author XCH
 * @date 2025 - 06 - 18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Banner {
    private Integer id;
    private String image;
    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
